import { defineStore } from 'pinia'
import { ref } from 'vue'

const storeSetup = () => {
  const username = ref('')

  const handleSetUsername = (val: string) => {
    username.value = val
  }

  return {
    username,
    handleSetUsername,
  }
}
export const useParamsStore = defineStore('params', storeSetup)
